package com.hopes.bizz.hazard.alarm.dto;

import com.hopes.bizz.hazard.alarm.entity.HazAlarmDayEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author daijie
 * @version 1.0
 * @date 2023/11/21 20:09
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class HazAlarmDayDTO extends HazAlarmDayEntity {
    private static final long serialVersionUID = 4964453973017905087L;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
